package com.hhsjtest.alipaydragview.impl;

import com.hhsjtest.appdraglayout.alipay.DragItemInfo;

public class ItemInfo implements DragItemInfo<ItemInfo> {

    public String name;
    private boolean isVisible = true;
    public int position;

    public ItemInfo(boolean edit, String name, int position) {
        this.name = name;
    }

    @Override
    public ItemInfo getData() {
        return this;
    }

    @Override
    public boolean isDrag() {
        return false;
    }

    @Override
    public void setDrag(boolean isDrag) {

    }

    @Override
    public boolean isVisible() {
        return isVisible;
    }

    @Override
    public void setVisible(boolean visible) {
        this.isVisible = visible;

    }
}
